<?php
$this->breadcrumbs=array(
	'Categories',
);

$this->menu=array(
	array('label'=>'Create Category', 'url'=>array('create')),
	array('label'=>'Manage Category', 'url'=>array('admin')),
);

?>

<h1>Categories</h1>

<ul id="category_list">
<?php
/*
$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
));*/ 

$categoryDatas = $dataProvider->getData();

foreach($categoryDatas as $key=>$categoryData){
?>
	<li>
		<?php $this->renderPartial('_view',array(
				'data'=>$categoryData,
				));
		?>
	</li>
<?php 
}
?>

</ul>
